Skip to content

fix(tree): prevent tooltip for non-truncated option text (#DS-4931) - #1910

Open
KamilEmeleev wants to merge 1 commit into
mainfrom
fix/DS-4931
Open

fix(tree): prevent tooltip for non-truncated option text (#DS-4931)#1910
KamilEmeleev wants to merge 1 commit into
mainfrom
fix/DS-4931

Conversation

@KamilEmeleev

Copy link
Copy Markdown
Contributor

Summary

Tree options showed a tooltip even when the text was not truncated. KbqTreeOption exposed only
parentTextElement, so KbqTitleDirective measured the .kbq-option-text container against the
option host — which is always bigger, so every option looked overflown.

Reported on kbq-username, but it is unchanged and correct: plain-text options were affected too.

List of notable changes:

  • fixed tooltip without truncation, by exposing textElement so the clipping box is measured against itself
  • added two unit tests: no tooltip when the text fits, tooltip when it is clipped

What should reviewers focus on?

Content marking its own #kbqTitleText keeps priority, so tree-select and filter-bar should be unaffected.

@KamilEmeleev KamilEmeleev added the bug Something isn't working label Aug 17, 2026
@KamilEmeleev KamilEmeleev changed the title fix(tree): prevent tooltip for non-truncated option text fix(tree): prevent tooltip for non-truncated option text (#DS-4931) Aug 17, 2026
@github-actions

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 8a53070):

https://koobiq-next--prs-1910-ba6bhzaz.web.app

(expires Thu, 20 Aug 2026 18:27:54 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant